package com.haven123.cloudapp.hystrix.dashboard;

import lombok.extern.log4j.Log4j2;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

@Log4j2
@EnableHystrixDashboard
@EnableCircuitBreaker
@SpringCloudApplication
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
        log.info("=============hystrix 仪表盘启动成功====================");
    }
}
